package com.entity;

public class Menu {
	private int id;		//权限id
	private String mname;	//权限名
	private int mfatherid;	//父级id
	private String mfunction;	//方法名/标识符
	private int type;	//级别
	private String mbtn;	//按钮样式
	private String icon ;	//图标
	
	
	public Menu() {
	}
	
	public Menu(int id,String mname, int mfatherid, String mfunction, int type, String mbtn, String icon) {
		super();
		this.id = id;
		this.mname = mname;
		this.mfatherid = mfatherid;
		this.mfunction = mfunction;
		this.type = type;
		this.mbtn = mbtn;
		this.icon = icon;
	}
	
	public Menu(String mname, int mfatherid, String mfunction, int type, String mbtn, String icon) {
		super();
		this.mname = mname;
		this.mfatherid = mfatherid;
		this.mfunction = mfunction;
		this.type = type;
		this.mbtn = mbtn;
		this.icon = icon;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getMname() {
		return mname;
	}
	public void setMname(String mname) {
		this.mname = mname;
	}
	public int getMfatherid() {
		return mfatherid;
	}
	public void setMfatherid(int mfatherid) {
		this.mfatherid = mfatherid;
	}
	public String getMfunction() {
		return mfunction;
	}
	public void setMfunction(String mfunction) {
		this.mfunction = mfunction;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getMbtn() {
		return mbtn;
	}
	public void setMbtn(String mbtn) {
		this.mbtn = mbtn;
	}
	
	
	
}
